﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.ERPModels.Production.MasterData
{
    public class MaterialClass:Entity<int>
    {
        /// <summary>
        ///分类名称
        /// </summary>
        [Display(Name = "分类名称")]
        public string ClassifyName { get; set; }

        /// <summary>
        ///排序ID
        /// </summary>
        [Display(Name = "排序ID")]
        public int? OrderById { get; set; }

        /// <summary>
        ///物料名称
        /// </summary>
        [Display(Name = "物料名称")]
        public string MaterialName { get; set; }

        /// <summary>
        ///状态
        /// </summary>
        [Display(Name = "状态")]
        public int? Status { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        public DateTime CreateTime { get; set; }= DateTime.Now;

        /// <summary>
        ///父级ID
        /// </summary>
        [Display(Name = "父级ID")]
        public int? ParentId { get; set; }
    }
}
